Fedora 25
Sponsored Link

SSL Settings
2016/12/08
 
Configure SSL to use secure encrypt connection.
[1]
[2] Configure httpd for SSL.
[root@www ~]#
dnf -y install mod_ssl
[root@www ~]#
vi /etc/httpd/conf.d/ssl.conf
# line 59: uncomment

DocumentRoot "/var/www/html"
# line 60: uncomment and specify hostname

ServerName
www.srv.world:443
# line 76,77: change

SSLProtocol
-all +TLSv1 +TLSv1.1 +TLSv1.2

SSLProxyProtocol
-all +TLSv1 +TLSv1.1 +TLSv1.2
# line 98: change to the one created in [1]

SSLCertificateFile
/etc/pki/tls/certs/server.crt
# line 105: change to the one created in [1]

SSLCertificateKeyFile
/etc/pki/tls/certs/server.key
[root@www ~]#
systemctl restart httpd

[3] If Firewalld is running, allow HTTPS service. HTTPS uses 443/TCP.
[root@dlp ~]#
firewall-cmd --add-service=https --permanent

success
[root@dlp ~]#
firewall-cmd --reload

success
[4] Access to the test page from a client computer with a Web browser via HTTPS. The examample below is the Fiorefix. Following screen is shown because Certificates is own created one, but it's no ploblem, Proceed to next.
[5] Just Accessed on HTTPS.
 
Tweet